Skip to content

Changes for BraidingTensor on SumSpace#51

Draft
kshyatt wants to merge 1 commit intoQuantumKitHub:mainfrom
kshyatt:ksh/braidingtensor
Draft

Changes for BraidingTensor on SumSpace#51
kshyatt wants to merge 1 commit intoQuantumKitHub:mainfrom
kshyatt:ksh/braidingtensor

Conversation

@kshyatt
Copy link
Copy Markdown
Member

@kshyatt kshyatt commented Apr 27, 2026

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 51.98%. Comparing base (cf8a145) to head (3f30d80).

Files with missing lines Patch % Lines
src/tensors/tensoroperations.jl 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   56.27%   51.98%   -4.30%     
==========================================
  Files          20       19       -1     
  Lines        1434     1437       +3     
==========================================
- Hits          807      747      -60     
- Misses        627      690      +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

end

function TK.braidingtensortype(::Type{SumSpace{S}}, ::Type{TorA}) where {S, TorA}
return BraidingTensor{scalartype(TorA), S, similarstoragetype(TorA)}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know where this is necessary? I might be misremembering, but I thought spacetype already outputs S, and never SumSpace{S}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's needed for MPSKit :(. Without it, the cuda/operators tests all fail, I'll try to get a more detailed trace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants